package com.xuedakun.xasdk.net.volley;

/**
 * Created by xuedakun on 2017/6/3 15:23
 * http 请求回调
 *
 * @version : v1.0
 * @project : xasdk
 * @Email : dakun611@Gmail.com
 */

public interface RequestCallback<R extends BaseResult> {
    /**
     * 请求成功
     *
     * @param result
     */
    void onRequestSucceed(R result);

    /**
     * 请求失败
     *
     * @param result
     */
    void onRequestFail(R result);
}
